Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 6 - Picture Shapes / Applying Functions Described Elsewhere to Picture Shapes


Functions That Post Errors or Warnings When Applied to Pictures

Some QuickDraw GX functions that operate on other types of shapes do nothing but post an error or a warning if you try to apply them to a picture shape.

For example, there are a number of shape-related functions and geometric operations that you cannot apply to picture shapes. Table 6-2 lists these functions, which are described in full in Chapter 2, "Geometric Shapes," and Chapter 4, "Geometric Operations."
Geometric operations that post errors or warnings when applied to pictures
Function nameError or warning posted
GXBreakShapegraphic_type_does_not_contain_points
GXContainsShapeshape_operator_may_not_be_a_picture
GXCountShapePointsgraphic_type_does_not_contain_points
GXDifferenceShapeshape_operator_may_not_be_a_picture
GXExcludeShapeshape_operator_may_not_be_a_picture
GXGetShapeCenterillegal_type_for_shape
GXGetShapeDirectiongraphic_type_does_not_have_multiple_contours
GXGetShapeLengthshape_does_not_have_length
GXGetShapePointsgraphic_type_does_not_contain_points
GXInsetShapegraphic_type_cannot_be_inset
GXIntersectShapeshape_operator_may_not_be_a_picture
GXInvertShapeshape_cannot_be_inverted
GXReverseDifferenceShapeshape_operator_may_not_be_a_picture
GXReverseShapecontour_out_of_range
GXShapeLengthToPointshape_does_not_have_length
GXSetShapePointsgraphic_type_does_not_contain_points
GXTouchesShapeshape_operator_may_not_be_a_picture
GXUnionShapeshape_operator_may_not_be_a_picture

Most of these geometric operations do not apply to picture shapes because a picture's geometry is substantially different from the geometry of a geometric shape.

You can apply a few of the geometric operations to pictures, however. These functions are discussed in "Geometric Operations Applicable to Pictures" beginning on page 6-55.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help